//
//  SCPhotoMacro.h
//  lg_zhinengbeikao_english
//
//  Created by Chao Sheng on 2021/12/14.
//  Copyright © 2021 zhukai. All rights reserved.
//

#ifndef SCPhotoMacro_h
#define SCPhotoMacro_h

/// 是否是iPhoneX
#define sc_iPhoneXAll                           [SCPhotoTools deviceIsPhoneX]
/// 宽
#define sc_WIDTH                                ([UIScreen mainScreen].bounds.size.width)
/// 高
#define sc_HEIGHT                               ([UIScreen mainScreen].bounds.size.height)
/// 导航栏
#define sc_NAVIGATION_HEIGHT                    (sc_iPhoneXAll?88.0:64.0)
/// 底部
#define sc_BOTTOMPADDING_HEIGHT                 (sc_iPhoneXAll?34.0:0)

/// 蓝色
#define sc_Blue [UIColor colorWithRed:0 green:0.478431 blue:1 alpha:1]

#define sc_weak(oject) __weak typeof(oject) weak##oject = oject;

/// pad判断
#define sc_PAD [[UIDevice currentDevice].model isEqualToString:@"iPad"]

#endif /* SCPhotoMacro_h */
